<template>
  <view class="content">
    <view class="list">
		<view class="renlian-hint">
		   <view class="renlian-tile">正在进入人脸识别…</view>
		   <view class="renlian-content">1.为了您的资金安全，请先进行安全验证；</view>
		   <view class="renlian-content">2.请您本人亲自完成，请将脸部置于提示框内，并按提示动作</view>
		</view>
		<image src="/static/login/renlian.png" mode=""></image>
		<view class="reminder">
			<view class="reminder-list">
				<text class="reminder-circle">1</text>
				<text>保证光线充足</text>
			</view>
			<view class="reminder-list">
				<text class="reminder-circle">2</text>
				<text>竖直持握手机，正对镜头</text>
			</view>
			<view class="reminder-list">
				<text class="reminder-circle">3</text>
				<text>跟随提示做出动作</text>
			</view>
		</view>
		<view class="renlian-bottom" @tap="recognizeFace">
			<view>同意并开始拍摄</view>
		</view>
    </view>
  </view>
</template>

<script>
  var js;
  export default {
    onUnload() {
     
    },
    data() {
      return {
		faceDetected: false,
		imageUrl: ''
      };
    },
	mounted() {

	},
	onShow() {

	},
    methods: {
		recognizeFace() {
			uni.redirectTo({
				url: '/pages/faceIdentification/faceIdentiCamera'
			})
		}
	}
  }
</script>

<style>
  .content {
    display: flex;
    flex-direction: column;
	height: 100%;
	overflow: hidden;
  }
  .list {
	  background: #FFFFFF;
	  height: 100%;
  }
  .list image{
	 width: 100%;
  	 height: 60%;
	 position: relative;
  }
  .renlian-bottom {
	  height: 20%;
	  display: flex;
	  justify-content: center;
	  align-items: center;
  }
  .renlian-bottom view{
	 width: 670rpx;
	 height: 98rpx;
  	 background: #315EFB;
  	 border-radius: 49rpx;
	 text-align: center;
	 line-height: 98rpx;
	 font-size: 32rpx;
	 color: #FFFFFF;
	 font-weight: 400;
  }
  .renlian-hint {
	  position: absolute;
	  z-index: 999;
	  margin-top: 30rpx;
	  width: 80%;
	  left: 11%;
  }
  .renlian-tile {
	  font-size: 48rpx;
	  color: #FFFFFF;
	  text-align: center;
	  font-weight: 500;
	  margin: 30rpx 0;
  }
  .renlian-content {
	  font-size: 28rpx;
	  color: #FFFFFF;
	  font-weight: 400;
	  opacity: 0.6;
	  margin-top: 5rpx;
  }
  .reminder {
	  height: 16%;
	  width: 100%;
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
  }
  .reminder-list {
	  text-align: left;
	  width: 380rpx;
	  margin: 4rpx 0;
	  color: #999;
	  font-size: 30rpx;
  }
  .reminder-circle {
	  display: inline-block;
	  height: 36rpx;
	  width: 36rpx;
	  border-radius: 50%;
	  color: #315EFB;
	  background: rgba(49,94,251,0.2);
	  text-align: center;
	  line-height: 36rpx;
	  font-size: 24rpx;
	  margin-right: 10rpx;
  }
</style>
